package com.bawei.http;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Author: Jason Zhang
 * Date: 2025/4/24
 * Desc: JAVA中4个元注解
 */
@Target({ElementType.TYPE, ElementType.METHOD}) //作用域
@Documented //文档
@Retention(RetentionPolicy.SOURCE)//声明周期
@Inherited // 可被继承
public @interface CustomAnnotation{
    String value() default "http://www.baidu.com";
}
